package com.lsj.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello";
    }
    @RequestMapping("/admin/hello")
    public String adminHello(){
        return "admin hello";
    }
    @RequestMapping("/user/hello")
    public String userHello(){
        return "user hello";
    }
}
